Re: problem with transactions in VB.NET using npgsql

Поиск
Список
Период
Сортировка
От Owen Hartnett
Тема Re: problem with transactions in VB.NET using npgsql
Дата
Msg-id p06230903c3046ed638b2@[192.168.2.176]
обсуждение исходный текст
Ответ на Re: problem with transactions in VB.NET using npgsql  (Owen Hartnett <owen@clipboardinc.com>)
Ответы Re: problem with transactions in VB.NET using npgsql  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-general
At 10:14 AM -0400 8/28/07, Owen Hartnett wrote:
>At 7:05 PM -0400 8/27/07, Tom Lane wrote:
>>Owen Hartnett <owen@clipboardinc.com> writes:
>>>  I assign the transaction object to each of the commands, but it seems
>>>  that some tables will get updated, even when I call rollback.  Is
>>>  something I'm calling secretly calling "commit" somewhere?
>>
>>Dunno anything about vb.net, but this sounds like an autocommit feature
>>that's not doing what you expect.
>>
>>If nothing else comes to mind, try setting the DB to log all statements
>>(see log_statement), and compare the resulting trace to what you think
>>your code is doing.  That should at least narrow it down a lot.
>>
>>            regards, tom lane
>
>Thanks, I'll give that a try.
>

I've been able to turn on statement logging (I've set log_statement
to 'all'), but it doesn't seem to show the begin transaction - commit
- rollback statements.  Is there another way to have them show up in
the log?

-Owen

В списке pgsql-general по дате отправления:

Предыдущее
От: SHARMILA JOTHIRAJAH
Дата:
Сообщение: how to find the number of rows inserted into the master table?
Следующее
От: Håkan Jacobsson
Дата:
Сообщение: SQL for Deleting all duplicate entries